package com.iflytak.service;

import com.iflytak.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentService {

    //添加
    int addStudent(Student student);
    //删除
    int deleteStudentById(int id);
    //更新
    int updataStudent(Student student);
    //查询
    //查询一个
    Student queryStudentByid(int id);
    //查询全部
    List<Student> queryAllStudent();
    Student queryStudentByName(String name1);
    //查询总个数
//    Student AllStudentNo(int id);
    List<Student> AllStudentNo();
}
